using MeshExtend;

public class ImageController1 : ImageController
{
    private VertexMono_UISpace[] monos;

    private void Start()
    {
        monos = GetComponentsInChildren<VertexMono_UISpace>();
        
    }

    private void Update()
    {
        Helper.Clear();
        VertexMono_UISpace.LocateAll(monos, myImage.rectTransform);
        Helper.AddConvexPolygon(VertexMono.GetVertices(monos));

        myImage.Repaint();
    }
}
